"""定义URL模式"""
from django.urls import path
from django.contrib.auth.views import LoginView
from . import views 
app_name='users'
urlpatterns=[
path('login/',LoginView.as_view(template_name='users/login.html'),name='login'),#登录
path('logout/',views.logout_views,name='logout'),#注销
path('register',views.register,name='register'),#注册
]